package test.threads.queue.unstressed.impl;


/**
 * @author cheremin
 * @since 27.09.11,  15:14
 */
public class SESDSequencer extends AbstractSESDSequencer {

    public SESDSequencer( final int length ) {
        super( length );
    }

    public void moveHead() {
        publishHead( nextHead() );
    }

    public void moveTail() {
        publishTail( nextTail() );
    }

    @Override
    public String toString() {
        return getClass().getSimpleName() + "[" + size() + "]";
    }
}
